﻿namespace AutoRevit.Storage;

/// <summary>
/// 扩展数据实体构件信息标识
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class SchemaBuilderInfoAttribute : Attribute
{
    /// <summary>
    /// 名称
    /// </summary>
    public string? SchemaName { get; set; }

    /// <summary>
    /// 读取访问等级
    /// </summary>
    public AccessLevel ReadAccessLevel { get; set; } = AccessLevel.Public;

    /// <summary>
    /// 写入访问等级
    /// </summary>
    public AccessLevel WriteAccessLevel { get; set; } = AccessLevel.Public;

    /// <summary>
    /// 文档说明
    /// </summary>
    public string? Documentation { get; set; }

    /// <summary>
    /// 应用程序 guid
    /// </summary>
    public Guid? ApplicationGUID { get; set; }

    /// <summary>
    /// 供应商
    /// </summary>
    public string? VendorId { get; set; }
}
